Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiNode Integration: TOML Configurations #844

Merged
merged 49 commits into from
Oct 4, 2024
Merged

Conversation

DylanTinianov
Copy link
Contributor

@DylanTinianov DylanTinianov commented Sep 6, 2024

Description

Added required TOML configurations for MultiNode integration.

Closes: https://smartcontract-it.atlassian.net/browse/BCFR-302

Core Bump Solana + Fix Tests PR: smartcontractkit/chainlink#14575

Requires Dependencies

This PR is a follow up to the MultiNode Initial Setup PR: #824

pkg/solana/chain.go Outdated Show resolved Hide resolved
pkg/solana/chain.go Show resolved Hide resolved

type MultiNode struct {
// TODO: Determine current config overlap https://smartcontract-it.atlassian.net/browse/BCI-4065
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what was the result of checking for shareable config?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not end up using any shared configs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to reuse the config across different chains. The EVM case might be a bit complex, but for new integrations like Aptos/Tron, it does not make sense to duplicate this code.
Could you create a follow up ticket to address that?

Copy link
Contributor Author

@DylanTinianov DylanTinianov Oct 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah sounds good, we can extract this to the framework repo when doing the extraction.

Comment on lines 289 to 291
func (c *TOMLConfig) MultiNodeConfig() *MultiNodeConfig {
return &c.MultiNode
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this still needed if we just use c.MultiNode?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wrapper is needed in order to allow the config names to be public, while also having the required functions names which are the same.

@aalu1418
Copy link
Collaborator

aalu1418 commented Oct 2, 2024

can you also link the core PR in PR description? it was buried in the test/deployment events

@aalu1418 aalu1418 enabled auto-merge (squash) October 4, 2024 15:42
@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
40.5% Coverage on New Code (required ≥ 75%)

See analysis details on SonarQube

@aalu1418 aalu1418 merged commit 3f52bbc into develop Oct 4, 2024
34 of 35 checks passed
@aalu1418 aalu1418 deleted the BCFR-302-multinode-toml branch October 4, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants